package com.hisysteTopet.hisystepet.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hisysteTopet.hisystepet.bean.Notice;

import java.util.Date;
import java.util.List;

public interface NoticeService extends IService<Notice> {

    // 降序查询
    public List<Notice> selectListNotice();

    // 根据Id修改公告内容
    public void updateNoticeMessage(String noticeMessage,Integer noticeId);

    // 根据Id删除公告信息
    public void deleteNoticeMessage(Integer noticeId);

    // 添加新的公告信息
    public void insertNoticeMessage(String noticeMessage, Date date);
}
